;( function () {
    "use strict";
   	var param_map = Result.getLocationParamObject();
    var new_id = param_map.new_id;
    var category_id = param_map.category_id;
	 $( function () {
		 loadDetail();
	 });
	 
	 
	 function loadDetail(){
		 $("#category_content").html(Data_category_MAP[category_id]);
		 
		var article = DATA_article[new_id];
		Result.fillData( $("#article_content"), article, "field" );
		
	 }
	 
	 window.toIndex = function(){
		 Result.forward("newsIndex.html", {});
	 };
	 
	 window.toCategory = function(){
		 Result.forward("newsIndex.html", {"category_id" : category_id});
	 };
	 
	 
	 
	 
	 
	 
		 
	
}( window ) );
